<form action="<?=link_for(Array(MODULE=>'user',ACTION=>'doregister'));?>" method="POST" enctype="multipart/form-data">
<center>
	<table class="user_reg">
		<thead>
			<tr>
				<td colspan="2">
					<?=translate('Registration');?>
				</td>
			</tr>
		</thead>
		<tbody>
			<?=error_for('username');?>
			<tr>
				<td class="user_reg_left">
					<?=translate('username');?>
				</td>
				<td class="user_reg_right">
					<input type="text" name="username" class="user_reg_input" /> 
				</td>
			</tr>
			<?=error_for('password');?>
			<tr>
				<td class="user_reg_left">
					<?=translate('password');?>
				</td>
				<td class="user_reg_right">
					<input type="password" name="password" class="user_reg_input" /> 
				</td>
			</tr>
			<?=error_for('password2');?>
			<tr>
				<td class="user_reg_left">
					<?=translate('repeat password');?>
				</td>
				<td class="user_reg_right">
					<input type="password" name="password2" class="user_reg_input" /> 
				</td>
			</tr>
			<?=error_for('email');?>
			<tr>
				<td class="user_reg_left">
					<?=translate('e-mail');?>
				</td>
				<td class="user_reg_right">
					<input type="text" name="email" class="user_reg_input" /> 
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="<?=translate('register');?>" />
				</td>
			</tr>
		</tbody>
	</table>
</center>

</form>